import { createRouter, createWebHistory } from 'vue-router'
import HomeView from "../views/home/index.vue";
import OtherView from "../views/other/index.vue";

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: "/home",
      name: "home",
      component: HomeView,
    },
    {
      path: "/other",
      name: "other",
      component: OtherView,
    },
  ],
});

export default router
